package com.plian.system.entity.imtbjg;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.entity.im.ProjectInfo;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @description: 项目基本信息
 * @author: gangan
 * @create: 2020-04-23 13:46
 */
@Data
@TableName("im_project_info_tbjg")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "项目信息", description = "项目信息")
public class ImProjectInfoTbjg extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "项目投资库id", required = true)
    private Long projectId;
//    @ApiModelProperty(value = "投资企业", required = true)
//    private String investmentCompanyId;
//    @ApiModelProperty(value = "投资企业层级")
//    private String investmentCompanyRankId;
//    @ApiModelProperty(value = "所属集团")
//    private String subordinateGroupId;
    @ApiModelProperty(value = "上报单位", required = true)
    private String fillingUnitId;
    @ApiModelProperty(value = "附件")
    @TableField(exist = false)
    private List<HashMap> docList;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号", required = true)
    private String orderNumber;

    @ApiModelProperty(value = "审批人")
    private String approvedUser;
    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private Date approvedTime;

    /**
     * 数据来源 null为系统填报 对应用户id
     */
    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;
    /**
     * 数据来源id
     */
    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;

    @ApiModelProperty(value = "表单类型")
    private String formType;


    @ApiModelProperty(value = "填报时间 - yyyy-MM-dd")
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
    private Date fillTime;




}
